<div class="thumbnail-preview" data-role="thumbnail-preview">
    <div class="thumbnail-preview-image-block content-preview-block">
        <% if(!type) { %>
        <img class="thumbnail-preview-image" src="<%- src %>" alt="<%- alt %>" />
        <% } %>
    </div>
    <div class="thumbnail-preview-content">
        <a class="thumbnail-preview-link" href="<%- link %>"><%- linkText %></a>
    </div>
</div>
